package com.sali.enums;

import lombok.Getter;

/**
 * @description:
 * @author: sali
 * @date: 2024/7/20 21:28.
 * @version: 1.0
 */
@Getter
public enum ValidatorEnum {

    PARAMATER_ERROR(60001, "PARAMATER_ERROR", "输入的参数不能为空!"),
    EMAIL_PARAMATER_ERROR(60002, "EMAIL_PARAMATER_ERROR", "请输入正确的邮箱"),
    ;

    private final Integer code;
    private final String codeDesc;
    private final String msg;

    ValidatorEnum(Integer code, String codeDesc, String msg){
        this.code = code;
        this.codeDesc = codeDesc;
        this.msg = msg;
    }
}
